package com.demo.mapper;

import com.demo.datasource.DataSource;
import com.demo.datasource.DataSourceType;
import com.demo.entity.his.HisPatient;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HisMapper {

    @DataSource(value = DataSourceType.SLAVE)
    List<HisPatient> queryPatientList(@Param("deptSn") Integer deptSn);
}
